package net.maku.project.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.maku.framework.common.utils.DateUtils;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
* 流程阶段表
*
* @author 艾力 1106997025@qq.com
* @since 1.0.0 2024-07-09
*/
@Data
@Schema(description = "流程阶段表")
public class ProcessStagesVO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;


	@Schema(description = "阶段ID，主键，自增")
	private Integer id;

	@Schema(description = "流程阶段名称")
	private String name;

	@Schema(description = "项目ID")
	private Integer projectId;

	@Schema(description = "阶段开始时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private LocalDateTime startTime;

	@Schema(description = "阶段结束时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private LocalDateTime endTime;


}